#region

using Microsoft.AspNetCore.Http;
using Vin.Event;

#endregion

namespace Vin.Extension.Exception.EventArgs;

public class VinExceptionEventArg(HttpContext context, int code, string msg, string? stackTrace, Endpoint? endpoint)
    : VinEventArgs
{
    public HttpContext? HttpContext { get; set; } = context;

    public int Code { get; set; } = code;

    public string? Msg { get; set; } = msg;

    public string? StackTrace { get; set; } = stackTrace;

    public Endpoint? Endpoint { get; set; } = endpoint;
    
}